fun main() {
    val arr = readlnOrNull()?.split(" ")?.map { v: String -> v.toInt() }
    println(arr)
}

//6 3 2 1 7 4 5
//4 9 8 2 10